#define _CRT_SECURE_NO_WARNINGS 1

#include "StackList.h"

void test1() {
	Node* pHead = NULL;
	
	StackPush(&pHead, 3);
	StackPush(&pHead, 10);
	StackPush(&pHead, 7);

	StackPrint(pHead);

	StackPop(&pHead);
	StackPop(&pHead);

	StackPrint(pHead);

	printf("top=%d\n", StackTop(pHead));
	printf("isEmpty=%d\n", StackisEmpty(pHead));

	StackDestroy(&pHead);

	printf("%p\n", pHead);
}

int main() {
	test1();
}